<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/details/fileSvrItfc.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_ae5bdaf1b45f3c0e6fd5dd3984d2eafd.html">details</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">fileSvrItfc.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../dc/d8b/file_svr_itfc_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &quot;<a class="code" href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a>&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a>{</div>
<div class="foldopen" id="foldopen00013" data-start="{" data-end="};">
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html">   13</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="../../d7/d64/structwheels_1_1i_file_service.html">iFileService</a></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>    {</div>
<div class="foldopen" id="foldopen00015" data-start="{" data-end="};">
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">   15</a></span>        <span class="keyword">enum</span> <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>{</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81">   16</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81">ERR_DOWNLOAD_OSS</a> = -10000,                   <span class="comment">// oss下载失败</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69">   17</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69">ERR_SYS_VAR</a>,</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241">   18</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241">ERR_CANCEL_TRANSFER</a>,</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e">   19</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e">ERR_UNSUPPORTED_PROTOCOL</a>,           <span class="comment">// CURL不支持指定协议</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18">   20</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18">ERR_INIT_CURL</a>,                      <span class="comment">// 初始化CURL错误</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139">   21</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139">ERR_CONNECT_SVR</a>,                    <span class="comment">// 连接服务器错误</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845">   22</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845">ERR_FILE_DOWNLOAD_TRANSFER</a>,         <span class="comment">// 下载传输过程错误</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34">   23</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34">ERR_FILE_UPLOAD_TRANSFER</a> ,          <span class="comment">// 上传文件传输过程错误</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579">   24</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579">ERR_CTX_NULL</a>,                       <span class="comment">// CURL 上下文对象空</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4">   25</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4">ERR_ALLOC_MEM</a>,                      <span class="comment">// 内存分配失败</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0">   26</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0">ERR_CREATE_DEST_FILE</a>,               <span class="comment">// 创建目的文件失败</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2">   27</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2">ERR_CURL_SET_OPT</a>,                   <span class="comment">// 配置CURL参数失败</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741">   28</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741">ERR_USER_OR_PSWD</a>,                   <span class="comment">// 用户名或者密码错误</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567">   29</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567">ERR_CURL_PERFORM</a>,                   <span class="comment">// 执行CURL失败</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65">   30</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65">ERR_OPEN_LOC_FILE</a>,                  <span class="comment">// 打开本地文件失败</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad">   31</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad">ERR_NO_SRC_FILE</a>,</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0">   32</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0">ERR_DESC_NULL</a>,</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446">   33</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446">ERR_EMPTY_URL</a>,</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516">   34</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516">ERR_FILE_NOT_FOUND</a>,                 <span class="comment">// 远程文件不存在</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d">   35</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d">ERR_ACCESS_NOT_SUPPORT</a>,             <span class="comment">//</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9">   36</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9">STATUS_TRANS_FINISH</a>,                <span class="comment">// 数据传输完成</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3">   37</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3">STATUS_TRANSING</a>,                    <span class="comment">// 数据正在传输</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8">   38</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8">ERR_INIT_FTP</a>,</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3">   39</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3">ERR_DELE_OSS_FILE</a>,</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43">   40</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43">ERR_LS_OSS_FILE</a>,</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74">   41</a></span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74">ERR_UPLOAD_OSS</a>,</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>            <a class="code hl_enumvalue" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78">OK</a> = 0</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78">   43</a></span>        };</div>
</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#aaef3e45a097583e13ad0a506f6f16e69">   45</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#aaef3e45a097583e13ad0a506f6f16e69">~iFileService</a>(){}</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a4c8066770e383bad17dabe1fad804779">   46</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a4c8066770e383bad17dabe1fad804779">bufferSize</a>( <span class="keywordtype">size_t</span> s ) = 0;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#abf692c0a9ad3c30b48580ffa37b92300">   47</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#abf692c0a9ad3c30b48580ffa37b92300">overtime</a>( <span class="keywordtype">long</span> seconds ) = 0;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a3f9d8e38826f754a709365f8890bab96">   55</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a3f9d8e38826f754a709365f8890bab96">download</a>( <span class="keyword">const</span> std::string&amp; from , <span class="keyword">const</span> std::string&amp; dest = <span class="stringliteral">&quot;&quot;</span> , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#abbf6f4f25334a5d82fa9c58f05333ab9">   61</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#abbf6f4f25334a5d82fa9c58f05333ab9">download</a>( <span class="keyword">const</span> std::string&amp; from , <span class="keyword">const</span> std::string&amp; dest , std::function&lt; <span class="keywordtype">bool</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , uint8_t * ,<span class="keywordtype">size_t</span>  ) &gt; cb , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#adc6c882edb72e2b071088d08b248d4fa">   65</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#adc6c882edb72e2b071088d08b248d4fa">download</a>( <span class="keyword">const</span> std::string&amp; from , <span class="keywordtype">char</span> * buffer , std::function&lt; <span class="keywordtype">bool</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , uint8_t * ,<span class="keywordtype">size_t</span> ) &gt; cb , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a5bcaea2ba4f416a19479b33c021d1088">   74</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a5bcaea2ba4f416a19479b33c021d1088">download</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; from , <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; dest , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a68d1d4801f66115b8db3577ef2488a0b">   78</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a68d1d4801f66115b8db3577ef2488a0b">download</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; from , <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; dest , std::function&lt; <span class="keywordtype">bool</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , uint8_t * ,<span class="keywordtype">size_t</span> ) &gt; cb, <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#ad9b1abef0edcb8552d170cc2b5034477">   88</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#ad9b1abef0edcb8552d170cc2b5034477">upload</a>( <span class="keyword">const</span> std::string&amp; file ,  <span class="keyword">const</span> std::string&amp; remote_file ,  <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a7dbd584d9b1b67c3ad196d184aa50a5a">   89</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a7dbd584d9b1b67c3ad196d184aa50a5a">upload</a>( <span class="keyword">const</span> std::string&amp; file ,  <span class="keyword">const</span> std::string&amp; remote_file, std::function&lt; <span class="keywordtype">bool</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , <span class="keywordtype">size_t</span> )&gt; cb ,<span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a0af74d6a59403a3270013c71d5445114">   96</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a0af74d6a59403a3270013c71d5445114">upload</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; from , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) = 0;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a5a882fb4e07e8471ed2392c8914c5f23">   97</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a5a882fb4e07e8471ed2392c8914c5f23">upload</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; file , std::function&lt; <span class="keywordtype">bool</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , <span class="keywordtype">size_t</span> )&gt; cb , <span class="keywordtype">bool</span> autoRun ) = 0;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#aa40dbce4a27a4eda48c863eed681ec5c">  102</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#aa40dbce4a27a4eda48c863eed681ec5c">del</a>( <span class="keyword">const</span> std::string&amp; rem ) = 0;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a3c4fdddfdaf3ede63c2e888a70e04ef5">  106</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a3c4fdddfdaf3ede63c2e888a70e04ef5">setUser</a>( <span class="keyword">const</span> std::string&amp; acc , <span class="keyword">const</span> std::string&amp; pswd ) = 0;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a92213b2aa32dc9d1abce057005d56ab3">  111</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a92213b2aa32dc9d1abce057005d56ab3">addUrl</a>( <span class="keyword">const</span> std::string&amp; url ) = 0;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a1596fd99e0831eb2ec2cabc4c712dee3">  112</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a1596fd99e0831eb2ec2cabc4c712dee3">run</a>() = 0;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#ac59b73319c207e2584e1c83c31396f8e">  113</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#ac59b73319c207e2584e1c83c31396f8e">run</a>( std::function&lt; <span class="keywordtype">bool</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , <span class="keywordtype">size_t</span> , <span class="keywordtype">int</span> , <span class="keyword">const</span> std::string&amp; ) &gt; cb ) = 0;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#ae5e67d4a2f534826e5493ed89ba450a3">  117</a></span>        <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#ae5e67d4a2f534826e5493ed89ba450a3">ls</a>( <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; rst ) = 0;</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a13fcf3f28b7bbf58f83321e93fb7a600">  118</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a13fcf3f28b7bbf58f83321e93fb7a600">ls</a>( std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> , <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; ) &gt; cb ) = 0;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a6b200bd334596fb97137ebe61b6034e2">  125</a></span>        <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a6b200bd334596fb97137ebe61b6034e2">access</a>( <span class="keyword">const</span> std::string&amp; url , <span class="keywordtype">int</span> type ) = 0;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a7a9cd7da47b67cd365bc9060ffd91f46">  130</a></span>        <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a7a9cd7da47b67cd365bc9060ffd91f46">cd</a>( <span class="keyword">const</span> std::string&amp; path ) = 0;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a5f1bf441284256b7f2799a4885345825">  136</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a5f1bf441284256b7f2799a4885345825">size</a>( <span class="keyword">const</span> std::string&amp; file ) = 0;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="../../d7/d64/structwheels_1_1i_file_service.html#a963d48b061a3e66bd4b3cd73123262db">  138</a></span>        <span class="keyword">static</span> std::string <a class="code hl_function" href="../../d7/d64/structwheels_1_1i_file_service.html#a963d48b061a3e66bd4b3cd73123262db">errMsg</a>( <a class="code hl_enumeration" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> e );</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>    };</div>
</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>}</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="ttc" id="aary__str_8hpp_html"><div class="ttname"><a href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a></div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
<div class="ttc" id="anamespacewheels_html_a17042f775c3493c1f9592ca7883dbd5e"><div class="ttname"><a href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">wheels::ArrayString</a></div><div class="ttdeci">ary_str ArrayString</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00010">ary_str.hpp:10</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html">wheels::iFileService</a></div><div class="ttdef"><b>定义</b> <a href="#l00013">fileSvrItfc.hpp:14</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a0af74d6a59403a3270013c71d5445114"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a0af74d6a59403a3270013c71d5445114">wheels::iFileService::upload</a></div><div class="ttdeci">virtual bool upload(const ArrayString &amp;from, bool autoRun=true)=0</div><div class="ttdoc">批量上传操作</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a13fcf3f28b7bbf58f83321e93fb7a600"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a13fcf3f28b7bbf58f83321e93fb7a600">wheels::iFileService::ls</a></div><div class="ttdeci">virtual void ls(std::function&lt; void(emErrCode, ArrayString &amp;) &gt; cb)=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a1596fd99e0831eb2ec2cabc4c712dee3"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a1596fd99e0831eb2ec2cabc4c712dee3">wheels::iFileService::run</a></div><div class="ttdeci">virtual void run()=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a3c4fdddfdaf3ede63c2e888a70e04ef5"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a3c4fdddfdaf3ede63c2e888a70e04ef5">wheels::iFileService::setUser</a></div><div class="ttdeci">virtual void setUser(const std::string &amp;acc, const std::string &amp;pswd)=0</div><div class="ttdoc">设置用户名和密码</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a3f9d8e38826f754a709365f8890bab96"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a3f9d8e38826f754a709365f8890bab96">wheels::iFileService::download</a></div><div class="ttdeci">virtual bool download(const std::string &amp;from, const std::string &amp;dest=&quot;&quot;, bool autoRun=true)=0</div><div class="ttdoc">下载文件操作</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4c8066770e383bad17dabe1fad804779"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4c8066770e383bad17dabe1fad804779">wheels::iFileService::bufferSize</a></div><div class="ttdeci">virtual void bufferSize(size_t s)=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">wheels::iFileService::emErrCode</a></div><div class="ttdeci">emErrCode</div><div class="ttdef"><b>定义</b> <a href="#l00015">fileSvrItfc.hpp:15</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567">wheels::iFileService::ERR_CURL_PERFORM</a></div><div class="ttdeci">@ ERR_CURL_PERFORM</div><div class="ttdef"><b>定义</b> <a href="#l00029">fileSvrItfc.hpp:29</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74">wheels::iFileService::ERR_UPLOAD_OSS</a></div><div class="ttdeci">@ ERR_UPLOAD_OSS</div><div class="ttdef"><b>定义</b> <a href="#l00041">fileSvrItfc.hpp:41</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845">wheels::iFileService::ERR_FILE_DOWNLOAD_TRANSFER</a></div><div class="ttdeci">@ ERR_FILE_DOWNLOAD_TRANSFER</div><div class="ttdef"><b>定义</b> <a href="#l00022">fileSvrItfc.hpp:22</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516">wheels::iFileService::ERR_FILE_NOT_FOUND</a></div><div class="ttdeci">@ ERR_FILE_NOT_FOUND</div><div class="ttdef"><b>定义</b> <a href="#l00034">fileSvrItfc.hpp:34</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8">wheels::iFileService::ERR_INIT_FTP</a></div><div class="ttdeci">@ ERR_INIT_FTP</div><div class="ttdef"><b>定义</b> <a href="#l00038">fileSvrItfc.hpp:38</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3">wheels::iFileService::STATUS_TRANSING</a></div><div class="ttdeci">@ STATUS_TRANSING</div><div class="ttdef"><b>定义</b> <a href="#l00037">fileSvrItfc.hpp:37</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78">wheels::iFileService::OK</a></div><div class="ttdeci">@ OK</div><div class="ttdef"><b>定义</b> <a href="#l00043">fileSvrItfc.hpp:42</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0">wheels::iFileService::ERR_DESC_NULL</a></div><div class="ttdeci">@ ERR_DESC_NULL</div><div class="ttdef"><b>定义</b> <a href="#l00032">fileSvrItfc.hpp:32</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446">wheels::iFileService::ERR_EMPTY_URL</a></div><div class="ttdeci">@ ERR_EMPTY_URL</div><div class="ttdef"><b>定义</b> <a href="#l00033">fileSvrItfc.hpp:33</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad">wheels::iFileService::ERR_NO_SRC_FILE</a></div><div class="ttdeci">@ ERR_NO_SRC_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00031">fileSvrItfc.hpp:31</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34">wheels::iFileService::ERR_FILE_UPLOAD_TRANSFER</a></div><div class="ttdeci">@ ERR_FILE_UPLOAD_TRANSFER</div><div class="ttdef"><b>定义</b> <a href="#l00023">fileSvrItfc.hpp:23</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e">wheels::iFileService::ERR_UNSUPPORTED_PROTOCOL</a></div><div class="ttdeci">@ ERR_UNSUPPORTED_PROTOCOL</div><div class="ttdef"><b>定义</b> <a href="#l00019">fileSvrItfc.hpp:19</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69">wheels::iFileService::ERR_SYS_VAR</a></div><div class="ttdeci">@ ERR_SYS_VAR</div><div class="ttdef"><b>定义</b> <a href="#l00017">fileSvrItfc.hpp:17</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81">wheels::iFileService::ERR_DOWNLOAD_OSS</a></div><div class="ttdeci">@ ERR_DOWNLOAD_OSS</div><div class="ttdef"><b>定义</b> <a href="#l00016">fileSvrItfc.hpp:16</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4">wheels::iFileService::ERR_ALLOC_MEM</a></div><div class="ttdeci">@ ERR_ALLOC_MEM</div><div class="ttdef"><b>定义</b> <a href="#l00025">fileSvrItfc.hpp:25</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18">wheels::iFileService::ERR_INIT_CURL</a></div><div class="ttdeci">@ ERR_INIT_CURL</div><div class="ttdef"><b>定义</b> <a href="#l00020">fileSvrItfc.hpp:20</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241">wheels::iFileService::ERR_CANCEL_TRANSFER</a></div><div class="ttdeci">@ ERR_CANCEL_TRANSFER</div><div class="ttdef"><b>定义</b> <a href="#l00018">fileSvrItfc.hpp:18</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0">wheels::iFileService::ERR_CREATE_DEST_FILE</a></div><div class="ttdeci">@ ERR_CREATE_DEST_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00026">fileSvrItfc.hpp:26</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741">wheels::iFileService::ERR_USER_OR_PSWD</a></div><div class="ttdeci">@ ERR_USER_OR_PSWD</div><div class="ttdef"><b>定义</b> <a href="#l00028">fileSvrItfc.hpp:28</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9">wheels::iFileService::STATUS_TRANS_FINISH</a></div><div class="ttdeci">@ STATUS_TRANS_FINISH</div><div class="ttdef"><b>定义</b> <a href="#l00036">fileSvrItfc.hpp:36</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43">wheels::iFileService::ERR_LS_OSS_FILE</a></div><div class="ttdeci">@ ERR_LS_OSS_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00040">fileSvrItfc.hpp:40</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579">wheels::iFileService::ERR_CTX_NULL</a></div><div class="ttdeci">@ ERR_CTX_NULL</div><div class="ttdef"><b>定义</b> <a href="#l00024">fileSvrItfc.hpp:24</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139">wheels::iFileService::ERR_CONNECT_SVR</a></div><div class="ttdeci">@ ERR_CONNECT_SVR</div><div class="ttdef"><b>定义</b> <a href="#l00021">fileSvrItfc.hpp:21</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d">wheels::iFileService::ERR_ACCESS_NOT_SUPPORT</a></div><div class="ttdeci">@ ERR_ACCESS_NOT_SUPPORT</div><div class="ttdef"><b>定义</b> <a href="#l00035">fileSvrItfc.hpp:35</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3">wheels::iFileService::ERR_DELE_OSS_FILE</a></div><div class="ttdeci">@ ERR_DELE_OSS_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00039">fileSvrItfc.hpp:39</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65">wheels::iFileService::ERR_OPEN_LOC_FILE</a></div><div class="ttdeci">@ ERR_OPEN_LOC_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00030">fileSvrItfc.hpp:30</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2">wheels::iFileService::ERR_CURL_SET_OPT</a></div><div class="ttdeci">@ ERR_CURL_SET_OPT</div><div class="ttdef"><b>定义</b> <a href="#l00027">fileSvrItfc.hpp:27</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a5a882fb4e07e8471ed2392c8914c5f23"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a5a882fb4e07e8471ed2392c8914c5f23">wheels::iFileService::upload</a></div><div class="ttdeci">virtual void upload(const ArrayString &amp;file, std::function&lt; bool(emErrCode, size_t)&gt; cb, bool autoRun)=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a5bcaea2ba4f416a19479b33c021d1088"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a5bcaea2ba4f416a19479b33c021d1088">wheels::iFileService::download</a></div><div class="ttdeci">virtual bool download(const ArrayString &amp;from, const ArrayString &amp;dest, bool autoRun=true)=0</div><div class="ttdoc">批量下载文件。</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a5f1bf441284256b7f2799a4885345825"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a5f1bf441284256b7f2799a4885345825">wheels::iFileService::size</a></div><div class="ttdeci">virtual size_t size(const std::string &amp;file)=0</div><div class="ttdoc">读取远程文件的文件大小</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a68d1d4801f66115b8db3577ef2488a0b"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a68d1d4801f66115b8db3577ef2488a0b">wheels::iFileService::download</a></div><div class="ttdeci">virtual void download(const ArrayString &amp;from, const ArrayString &amp;dest, std::function&lt; bool(emErrCode, uint8_t *, size_t) &gt; cb, bool autoRun=true)=0</div><div class="ttdoc">批量下载文件，使用回调函数通知操作结果和过程</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a6b200bd334596fb97137ebe61b6034e2"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a6b200bd334596fb97137ebe61b6034e2">wheels::iFileService::access</a></div><div class="ttdeci">virtual emErrCode access(const std::string &amp;url, int type)=0</div><div class="ttdoc">和linux access函数一样，用来检查文件的可访问性</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a7a9cd7da47b67cd365bc9060ffd91f46"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a7a9cd7da47b67cd365bc9060ffd91f46">wheels::iFileService::cd</a></div><div class="ttdeci">virtual emErrCode cd(const std::string &amp;path)=0</div><div class="ttdoc">切换远程目录路径</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a7dbd584d9b1b67c3ad196d184aa50a5a"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a7dbd584d9b1b67c3ad196d184aa50a5a">wheels::iFileService::upload</a></div><div class="ttdeci">virtual void upload(const std::string &amp;file, const std::string &amp;remote_file, std::function&lt; bool(emErrCode, size_t)&gt; cb, bool autoRun=true)=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a92213b2aa32dc9d1abce057005d56ab3"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a92213b2aa32dc9d1abce057005d56ab3">wheels::iFileService::addUrl</a></div><div class="ttdeci">virtual void addUrl(const std::string &amp;url)=0</div><div class="ttdoc">指定URL</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_a963d48b061a3e66bd4b3cd73123262db"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#a963d48b061a3e66bd4b3cd73123262db">wheels::iFileService::errMsg</a></div><div class="ttdeci">static std::string errMsg(emErrCode e)</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_aa40dbce4a27a4eda48c863eed681ec5c"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#aa40dbce4a27a4eda48c863eed681ec5c">wheels::iFileService::del</a></div><div class="ttdeci">virtual bool del(const std::string &amp;rem)=0</div><div class="ttdoc">删除远程文件</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_aaef3e45a097583e13ad0a506f6f16e69"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#aaef3e45a097583e13ad0a506f6f16e69">wheels::iFileService::~iFileService</a></div><div class="ttdeci">virtual ~iFileService()</div><div class="ttdef"><b>定义</b> <a href="#l00045">fileSvrItfc.hpp:45</a></div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_abbf6f4f25334a5d82fa9c58f05333ab9"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#abbf6f4f25334a5d82fa9c58f05333ab9">wheels::iFileService::download</a></div><div class="ttdeci">virtual void download(const std::string &amp;from, const std::string &amp;dest, std::function&lt; bool(emErrCode, uint8_t *, size_t) &gt; cb, bool autoRun=true)=0</div><div class="ttdoc">下载操作函数。操作完成后使用回调函数通知操作结果</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_abf692c0a9ad3c30b48580ffa37b92300"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#abf692c0a9ad3c30b48580ffa37b92300">wheels::iFileService::overtime</a></div><div class="ttdeci">virtual void overtime(long seconds)=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_ac59b73319c207e2584e1c83c31396f8e"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#ac59b73319c207e2584e1c83c31396f8e">wheels::iFileService::run</a></div><div class="ttdeci">virtual void run(std::function&lt; bool(emErrCode, size_t, int, const std::string &amp;) &gt; cb)=0</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_ad9b1abef0edcb8552d170cc2b5034477"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#ad9b1abef0edcb8552d170cc2b5034477">wheels::iFileService::upload</a></div><div class="ttdeci">virtual bool upload(const std::string &amp;file, const std::string &amp;remote_file, bool autoRun=true)=0</div><div class="ttdoc">上传文件到服务器</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_adc6c882edb72e2b071088d08b248d4fa"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#adc6c882edb72e2b071088d08b248d4fa">wheels::iFileService::download</a></div><div class="ttdeci">virtual void download(const std::string &amp;from, char *buffer, std::function&lt; bool(emErrCode, uint8_t *, size_t) &gt; cb, bool autoRun=true)=0</div><div class="ttdoc">将数据下载到内存中</div></div>
<div class="ttc" id="astructwheels_1_1i_file_service_html_ae5e67d4a2f534826e5493ed89ba450a3"><div class="ttname"><a href="../../d7/d64/structwheels_1_1i_file_service.html#ae5e67d4a2f534826e5493ed89ba450a3">wheels::iFileService::ls</a></div><div class="ttdeci">virtual emErrCode ls(ArrayString &amp;rst)=0</div><div class="ttdoc">列出远程目录内容</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
